/*
 * Copyright 2012 ilem, Inc. www.ilemgroup.com 
 * Geneva, Switzerland
 * All rights reserved.
 */
package ch.ilem.common.dao;

import java.sql.Connection;
import java.util.List;

import ch.ilem.common.biz.BizGenericService;
import ch.ilem.common.dto.DtoGeneric;
import ch.ilem.common.exception.ServiceException;

/**
 * @author <a href="mailto:philippe.delobel@ilem.ch">Philippe Delobel</a>
 * @date 19.12.2010
 * @version $$Revision$$
 */
@SuppressWarnings("hiding")
public interface DaoGenericService<GenericDto> extends BizGenericService {
		
	public List<GenericDto> selectAll() throws ServiceException;
	
	public List<GenericDto> selectByCriteria(List params) throws ServiceException;	

	public GenericDto getById(Object id) throws ServiceException;	

	public GenericDto getByBusinessId(Object businessId) throws ServiceException;	

}
